<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page import="java.util.*"%>
<%@page import="dyyx.util.*"%>

<%

Set<String> names =  ConfigUtil.getValueAsSet("zks");
if(names==null){
	names = new LinkedHashSet<String>();
}


%>


<form name=form1 method=post method=post action="/result.jsp">

<input type='hidden' name="type" >

<select name="name"> 
<option></option>
<%for(String name:names){ %>
  <option><%=name %></option>
<%} %>

</select>

<br>

<input type=text name="path" style='width:300px'>

<br>

<input type=button value="reset" onclick="f_reset()">
<input type=button value="info" onclick="f_info()">
<input type=button value="list" onclick="f_list()">
<input type=button value="get" onclick="f_get()">



</form>

<script>
function f_reset(){
	form1.type.value = "zkreset";
	// alert("reset,"+form1.type.value);
	form1.submit();
}

function f_info(){
	form1.type.value = "zkinfo";
	alert("info,"+form1.type.value);
	form1.submit();

}

function f_list(){
	form1.type.value = "zklist";
	// alert("reset,"+form1.type.value);
	form1.submit();
}

function f_get(){
	form1.type.value = "zkget";
	form1.submit();
}




</script>





